Package email.extractor

Source Code of email.extractor.AsposeMsgBody

package email.extractor;

import com.aspose.email.MailMessage;
import com.aspose.email.MessageFormat;

public class AsposeMsgBody
{
  public static void main(String[] args) throws Exception
  {
    MailMessage msg = MailMessage.load("data/message.msg", MessageFormat.getMsg());

    System.out.println("Body:"+ msg.getBody());
    System.out.println("Text Body:"+ msg.getTextBody());
    System.out.println("Text Body HTML:"+ msg.getHtmlBody());
  }
}
TOP

Related Classes of email.extractor.AsposeMsgBody

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.